#To be fair, the Lucas series is just a variation on the better known Fibonacci numbers
#Which start with the numbers in the opposite order a=1, b=2 instead of a=2,b=1

def fibonacci():
    yield 2
    a  =  1
    b  =  2
    while True:
        yield  b
        a, b = b, a + b

for x in fibonacci():
    print(x)

